home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 2085 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.9 KB

  1. Path: simmons.actrix.gen.nz!jim
  2. From: jim@simmons.actrix.gen.nz (Jim Simmons)
  3. Newsgroups: comp.lang.rexx
  4. Subject: Re: OS/2 REXX SysCreateObject() WinCreateObject setup string tips?
  5. Distribution: world
  6. Message-ID: <317a024e.53494d4d4f4e53@simmons.actrix.gen.nz>
  7. Date: Sun, 21 Apr 1996 22:39:26 +1300
  8. X-Original-Newsgroups: comp.lang.rexx,comp.os.os2.programmer.misc
  9. References: <abeDq2KtH.5DG@netcom.com>
  10. Organization: Upstairs in the West Wing
  11. X-Newsreader: TRN 1.96 (beta) for OS/2
  12. X-Posting-Software: UUPC/extended 1.12k inews ( 8Dec94 22:58)
  13.  
  14. I heard a rumour that Dave Abercrombie <abe@netcom.com> said:
  15. >I have not yet found any documentation on what seems like
  16. >a simple task: I would like to create a folder with the
  17. >icon view set to "flowed". I can create the folder just
  18. >fine with code like this:
  19. >
  20.  
  21.  Very simple, just add 'ICONVIEW=FLOW;' to the settings:
  22.  
  23.  rc = SysCreateObject(  'WPFolder' ,,
  24.                         folderName   ,,
  25.                         basePath     ,,
  26.                         'OBJECTID=' || folderID || ';ICONVIEW=FLOW;',,
  27.                         'R' )
  28.  
  29. >I suspect that I could specify flowed icon view
  30. >in my WinCreateObject setup string argument, but
  31. >no amount of trial and error has worked yet, and
  32. >I sure can not fond documentation on this.
  33. >
  34.  It is in the WinCreateObject documentation - which means
  35.  you need access to the programmers toolkits.
  36.  In particular remember to separate setup bits by ";"
  37.  and I find it never hurts to terminate the string with ";" either.
  38.  
  39.  I agree, though, that this stuff should ship with Rexx/2.
  40. --
  41.     *      *     *          
  42.       * /\__O__/\  *        Jim Simmons, Lower Hutt, New Zealand 
  43.        /   /    *\          jim@simmons.actrix.gen.nz            
  44.     *      \\                
  45.        *  \// *                                  __o      o 
  46.            \\                     ____/\o__   _ |/<_     <\ 
  47.             \\                      TriNZ    (_)| (_)   / > 
  48.